From: Wei Liu Date: Tue, 15 Aug 2017 10:21:04 +0000 (+0100) Subject: x86_64/mm: remove extraneous breaks in m2p_mapped X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~1683 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=7591ea75f77643342b194031ef5a903564901ba8;p=xen.git x86_64/mm: remove extraneous breaks in m2p_mapped Signed-off-by: Wei Liu Reviewed-by: Jan Beulich --- diff --git a/xen/arch/x86/x86_64/mm.c b/xen/arch/x86/x86_64/mm.c index f74c673161..b375ee56e6 100644 --- a/xen/arch/x86/x86_64/mm.c +++ b/xen/arch/x86/x86_64/mm.c @@ -140,13 +140,11 @@ static int m2p_mapped(unsigned long spfn) { case _PAGE_PSE|_PAGE_PRESENT: return M2P_1G_MAPPED; - break; /* Check for next level */ case _PAGE_PRESENT: break; default: return M2P_NO_MAPPED; - break; } l2_ro_mpt = l3e_to_l2e(l3_ro_mpt[l3_table_offset(va)]);